package com.raycloud.erp.omll.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 卖家类目信息表
 * </p>
 *
 * @author 枫伦
 * @since 2021-01-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Sellercats对象", description="卖家类目信息表")
public class Sellercats implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID，自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long cid;

    @ApiModelProperty(value = "父类目编号，值等于0：表示此类目为店铺下的一级类目")
    private Long parentCid;

    @ApiModelProperty(value = "卖家自定义类目名称")
    private String name;

    @ApiModelProperty(value = "链接图片地址")
    private String picUrl;

    @ApiModelProperty(value = "该类目在页面上的排序位置")
    private Integer sortOrder;

    @ApiModelProperty(value = "店铺类目类型")
    private String type;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime created;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime modified;

    @ApiModelProperty(value = "数据状态 1：有效 0：无效")
    private Boolean enableStatus;


}
